﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class TTT : MonoBehaviour
{

    private AsyncOperation _asyncOperation;
    void Start()
    {
        _asyncOperation = SceneManager.LoadSceneAsync("MainScene");
    }

    void Update()
    {
        if (_asyncOperation.isDone)
        {
            Debug.Log("场景加载完成");
        }
    }

}
